export const NoPermissionErrors = {
  tokenExpired: {
    code: 401,
    message: 'Token has expired.'
  },
  userNoPermission: {
    code: 403,
    message: 'The user does not have permission to access the resource.'
  },
}

export const ResponseErrors = {
  userNotExist: {
    code: 20001,
    message: 'User does not exist.'
  },
  userExist: {
    code: 20002,
    message: 'User already exists.'
  },
  acntOrPwdIncorrect: {
    code: 20003,
    message: 'Incorrect username or password.'
  },
  userNoPermissionDelPhoto: {
    code: 20004,
    message: 'The current user does not have permission to delete photos.'
  },
  userNoPermissionEditProfile: {
    code: 20005,
    message: 'The current user does not have permission to edit profile.'
  },
  activityNotExist: {
    code: 30002,
    message: 'The activity does not exist.'
  },
  userParticipatedActivity: {
    code: 30001,
    message: 'The user has already participated in the activity.'
  }
}  